const { update } = require('../utils/mysqlsApi.js')

module.exports = {
	type:'post',
	methods: async ctx => {
		ctx.body = {data:await update('mytest', ctx.request.body)}
	} 
}